import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FileUploadModule } from '../../../lib/ng2-file-upload';
import { PaginationModule, ModalModule } from 'ngx-bootstrap';
import { HomepagePopupComponent } from './homepage-popup/homepage-popup.component';
import { HomepagePopGridComponent } from './homepage-popup/homepage-pop-grid/homepage-pop-grid.component';
import { HomepagePopEditComponent } from './homepage-popup/homepage-pop-grid/homepage-pop-edit/homepage-pop-edit.component';
import { HomepagePopAddComponent } from './homepage-popup/homepage-pop-add/homepage-pop-add.component';
import { SelectImageAddComponent } from './homepage-popup/homepage-pop-add/select-image-add/select-image-add.component';
import { ImageManagementAddGridComponent } from './homepage-popup/homepage-pop-add/select-image-add/select-image-add-grid/select-image-add-grid.component';
import { SelectImageEditComponent } from './homepage-popup/homepage-pop-grid/homepage-pop-edit/select-image-edit/select-image-edit.component';
import { ImageManagementEditGridComponent } from './homepage-popup/homepage-pop-grid/homepage-pop-edit/select-image-edit/select-image-edit-grid/select-image-edit-grid.component';
import { FloatingWindowComponent } from './floating-window/floating-window.component'
import { FloatingWindowGridComponent } from './floating-window/floating-window-grid/floating-window-grid.component';
import { FloatingWindowEditComponent } from './floating-window/floating-window-grid/floating-window-edit/floating-window-edit.component';
import { FloatingWindowAddComponent } from './floating-window/floating-window-add/floating-window-add.component';
import { SelectImageAdd2Component } from './floating-window/floating-window-add/select-image-add/select-image-add.component';
import { SelectImageAddGridComponent } from './floating-window/floating-window-add/select-image-add/select-image-add-grid/select-image-add-grid.component';
import { SelectImageEdit2Component } from './floating-window/floating-window-grid/floating-window-edit/select-image-edit/select-image-edit.component';
import { SelectImageEditGridComponent } from './floating-window/floating-window-grid/floating-window-edit/select-image-edit/select-image-edit-grid/select-image-edit-grid.component';

@NgModule({
    imports: [
        BrowserModule,
        FormsModule,
        CommonModule,
        FileUploadModule,
        PaginationModule.forRoot(),
        ModalModule.forRoot()
    ],
    declarations: [
        HomepagePopupComponent,
        HomepagePopGridComponent,
        HomepagePopEditComponent,
        HomepagePopAddComponent,
        SelectImageAddComponent,
        ImageManagementAddGridComponent,
        SelectImageEditComponent,
        ImageManagementEditGridComponent,
        FloatingWindowComponent,
        FloatingWindowAddComponent,
        FloatingWindowEditComponent,
        FloatingWindowGridComponent,
        SelectImageAdd2Component,
        SelectImageAddGridComponent,
        SelectImageEdit2Component,
        SelectImageEditGridComponent
    ],
    entryComponents: [
        HomepagePopupComponent,
        FloatingWindowComponent
    ]
})
export class PageManagementModule { }
